package cn.com.bdqn.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "业扩工单")
public class BeOrder {

  @ApiModelProperty(value = "业扩工单（规则：16位，如：B1-20140105-0001。前两位表示工单类型，中间8位表示建单日期，最后四位是按工单类型和月份的流水号）")
  private String orderNo;

  @ApiModelProperty(value = "工单类型（1新户 2分户 3过户 4代扣 5换表 6重签 7销户）")
  private Long orderType;

  @ApiModelProperty(value = "当前步骤ID（1-8步骤，0完成，-1终止）")
  private Long stepId;

  @ApiModelProperty(value = "建单人")
  private Long createEmp;

  @ApiModelProperty(value = "工单创建日期")
  private String createDate;

  @ApiModelProperty(value = "归档人")
  private Long completeEmp;

  @ApiModelProperty(value = "工单完成日期")
  private String completeDate;

  @ApiModelProperty(value = "最后操作人")
  private Long lastEditEmp;

  @ApiModelProperty(value = "最后操作时间")
  private String lastEditDate;

  @ApiModelProperty(value = "用户名称")
  private String userName;

  @ApiModelProperty(value = "用户类型（私户 公户）")
  private String userType;

  @ApiModelProperty(value = "用户地址")
  private String address;

  @ApiModelProperty(value = "联系人")
  private String linkMan;

  @ApiModelProperty(value = "联系电话")
  private String phone;

  @ApiModelProperty(value = "接水用途")
  private String useTarget;

  @ApiModelProperty(value = "房屋层次")
  private Long houseHeight;

  @ApiModelProperty(value = "用水量")
  private Long maxAmount;

  @ApiModelProperty(value = "申请表径")
  private Long meterTypeId;

  @ApiModelProperty(value = "申请装表表数")
  private Long meterCount;

  @ApiModelProperty(value = "用户申请的备注说明")
  private String userRemark;

  @ApiModelProperty(value = "收费方式（坐收 走收 银行代扣）")
  private String payType;

  @ApiModelProperty(value = "开户银行")
  private String bankCompany;

  @ApiModelProperty(value = "银行账号")
  private String bankNum;

  @ApiModelProperty(value = "原用户编码")
  private String oldUserNo;

  @ApiModelProperty(value = "原用户姓名")
  private String oldUserName;

  @ApiModelProperty(value = "原用户电话")
  private String oldUserPhone;

  @ApiModelProperty(value = "原用户地址")
  private String oldUserAddr;

  @ApiModelProperty(value = "原用户表径（不存ID，直接存文字 ）")
  private String oldMeter;

  @ApiModelProperty(value = "初步审核人")
  private Long auditEmpId;

  @ApiModelProperty(value = "初审意见")
  private String auditMessage;

  @ApiModelProperty(value = "总应收金额")
  private Double projectMoney;

  @ApiModelProperty(value = "总实收金额")
  private Double realMoney;

  @ApiModelProperty(value = "交费日期")
  private String payDate;

  @ApiModelProperty(value = "开工日期")
  private String projectDate1;

  @ApiModelProperty(value = "竣工日期")
  private String projectDate2;

  @ApiModelProperty(value = "所属辖区")
  private Long areaId;

  @ApiModelProperty(value = "工单终止原因")
  private String abortCause;

}
